﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 系统设置
    /// </summary>
    public partial class SysSetting
    {
        public class ValueLabel
        {
            public string Value { get; set; }

            public string Label { get; set; }
        }

        /// <summary>
        /// 非数据库字段
        /// </summary>
        [NotMapped]
        public List<ValueLabel> Values { get; set; }

        /// <summary>
        /// 非数据库字段
        /// </summary>
        [NotMapped]
        public int EditorType { get; set; }

        /// <summary>
        /// 非数据库字段
        /// </summary>
        [NotMapped]
        public string DefaultValue { get; set; }
    }
}
